package com.xbongbong.pro.formdata.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.paas.toolbox.wrap.QueryIgnore;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 批量查重
 * @author 吴峰
 * @version v1.0
 * @date 2019/2/14 9:42
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class FormDataRepeatBatchDTO extends BaseDTO {
    private static final long serialVersionUID = 4778246837612798989L;

    /**
     * 应用ID
     */
    @NotNull(message = "{dto.msg.formDataRepeatBatch.appId.NotNull}")
    private Long appId;

    /**
     * 菜单id
     */
    @NotNull(message = "{dto.msg.formDataRepeatBatch.menuId.NotNull}")
    private Long menuId;

    /**
     * saas标记
     */
    @Getter(onMethod_ = {@QueryIgnore})
    private Integer saasMark;

    /**
     * saas业务类型
     */
    @Getter(onMethod_ = {@QueryIgnore})
    private Integer businessType;
    /**
     * 编号
     */
    @Getter(onMethod_ = {@QueryIgnore})
    private List<String> serialNoList;

}
